//
//  HHQReaderViewController.h
//  QRTest
//
//  Created by shiwanjun on 14-4-17.
//  Copyright (c) 2014年 com.gewara. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 *  二维码扫描  
 *  1.iOS7 用自带的扫描
 *  2.iOS7以下用开源ZBarSDK扫描
 */
@interface HHQReaderViewController : UIViewController

@property(nonatomic,copy)void(^QReaderFinish)(NSString *stringValue);
@property(nonatomic,copy)void(^QReaderFailed)(NSError *error);

/**
 *  启动二维码扫描
 */
-(void)startQReader;
/**
 *  停止二维码扫描
 */
-(void)stopQReader;

@end
